package com.example.springtest.teacher.mapper;


import com.example.springtest.teacher.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {

    List<Teacher> getList();

    int add(Teacher teacher);

    int delete(Integer id);

    Teacher getById(Integer id);

    int edit(Teacher teacher1);
}
